// JavaScript Document

Event.observe(window, 'load', function() {
		Event.observe(document, 'click', function(event) {
			var el = event.element();
			var elid = el.id;
			if (elid == "chnav" || elid == "dropnav") {
				$(elid).addClassName('SiteHeaderBarItemActive');
			}
		});
		if ($('dropnav1')) {
			Event.observe('dropnav1', 'mouseover', function() { 
				$('dropnav1').addClassName('SiteHeaderPanelLinkHover');
			});
			Event.observe('dropnav1', 'mouseout', function() { 
				$('dropnav1').removeClassName('SiteHeaderPanelLinkHover');
			});
		}
	});